package controller;

import java.io.IOException;
import java.net.Socket;

public class Client {
    Socket socket = null;

    public static void main(String[] args) {
        new Client().connect();
    }

    public Socket connect() {
        try {
            socket = new Socket("127.0.0.1", 6666);
            System.out.println("connected");
        } catch (IOException e) {
            e.printStackTrace();
        }
        return socket;
    }
}
